import { createStore } from 'vuex'
// createStore:方法 用来生成store实例对象
import user from './modules/user'
import cart from './modules/cart'
import category from './modules/category'
export default createStore({
  modules: {
    user,
    cart,
    category
  }
})
